<me:UIVVAVIS x:Class="WPFExcelReport.TVV20"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                     x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVVAVIS.Resources>
        <CollectionViewSource  x:Key="vwMaster" />
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVVAVIS.Resources>
    <WrapPanel>
        <me:TVV21 
                LIEFSCH="{Binding LIEFSCH,ElementName=TV}" 
                ORDERNUM="{Binding SHIPWAY,ElementName=TV}"
                KEY="{Binding AVISNR,ElementName=TV}" 
                FAHRER ="{Binding FAHRER,ElementName=TV}"
                />
        <!--ORDERNUM="{Binding SHIPWAY,ElementName=TV}" -->
        <WrapPanel IsEnabled="{Binding IsCanChg,ElementName=TV}" >
            <Button Click="NewCommand" Height="20" Margin="5,0,0,0" Width="Auto" Content="{Binding Source={Localization:Translate Word=保存运单}}"/>
            <Button Click="DeleteCommand" Height="20" Margin="5,0,0,0"  Width="Auto" Content="{Binding Source={Localization:Translate Word=移除}}" Visibility="Collapsed"/>
        </WrapPanel>
        <TextBlock Text="{Binding Source={Localization:Translate Word=已加入}}"/> 
        <ComboBox   IsEditable="True" 
                    Width="60" 
                    Height="24"
                    SelectedValuePath="KEY" 
                    DisplayMemberPath="KEY"
                    ItemsSource="{Binding Source={StaticResource vwMaster}}" 
                    IsSynchronizedWithCurrentItem="True" 
            >
        </ComboBox  >
    </WrapPanel>
</me:UIVVAVIS> 
 
